package com.group5.onlinegame.service;

import com.group5.onlinegame.dao.IModulesDao;
import com.group5.onlinegame.entity.Modules;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class ModulesService implements IModulesService {

    @Resource
    private IModulesDao modulesDao;

    @Override
    public List<Modules> getAllModules() {
        return modulesDao.getAllModules();
    }
}
